package BlackJack.Model.Events
{
	import flash.events.Event;

	public class TableEvent extends Event
	{
		/**	離開 */
		public static const Exit:String                    = 'Exit';
		/**	最高投注 */
		public static const BetMax:String                  = 'BetMax';
		/**	最低投注 */
		public static const BetMin:String                  = 'BetMin';
		/**	下注確定 */
		public static const Bet:String                     = 'Bet';
		/**	儲值 */
		public static const Charge:String                  = 'Charge';
		/**	排行榜 */
		public static const Rank:String                    = 'Rank';
		/**	表情符號 */
		public static const Smile:String                   = 'Smile';
		/**	聲音關閉 */
		public static const SoundOff:String                = 'SoundOff';
		/**	聲音打開 */
		public static const SoundOn:String                 = 'SoundOn';
		/**	全事件陣列 */
		public static const Events:Array                   = [Exit, BetMax, BetMin, Bet, Charge, Rank, Smile, SoundOff, SoundOn];

		public function TableEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		public static const C2S_DealingOK:String           = 'C2S_DealingOK';
		public static const C2S_CalculationOK:String       = 'C2S_CalculationOK';
		public static const Deal:String                    = 'Deal';
		public static const Insurance:String               = 'Insurance';
		public static const Surrender:String               = 'Surrender';
		public static const Cancel:String                  = 'Cancel';
		public static const Hit:String                     = 'Hit';
		public static const Stay:String                    = 'Stay';
		public static const Double:String                  = 'Double';
		public static const Split:String                   = 'Split';
		public static const btnEvents:Array                = [Deal, Insurance, Surrender, Cancel, Hit, Stay, Double, Split];
		public static const BlackJack:String               = 'BlackJack';
		public static const Bomb:String                    = 'Bomb';
	}
}
